module.exports = {
    // transpileDependencies: ['resize-detector'],
    devServer: {
        proxy: {
            // 配置多个跨域
            "/api": {
                target: 'http://localhost:8080',//跨域接口的地址
                changeOrigin: true,
                pathRewrite: {
                    "^/api": ""
                }
            }
        },
    },
}